x86/HVM: clobber hypercall arguments just like for PV
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Jan 2015 16:26:31 +0000 (17:26 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Jan 2015 16:26:31 +0000 (17:26 +0100)
commit9281ad48e948d715f17c38049216fcb9933092bc
treec9a6a3ff7885b136c4e830a9a8b72e827233948f
parentc109909720fa49cc1bb71c729fd5a14e17163306
x86/HVM: clobber hypercall arguments just like for PV

Unused arguments get clobbered before the call (not affecting caller
visible state), while used arguments get clobbered afterwards unless
a continuation is needed (affecting caller visible state).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c